return new GithubOrganizationFolder(organizationFolder, parent.getLink());
<BUG>}
return null;</BUG>
}
<BUG>static void validateCredentialId(String credentialId, OrganizationFolder item, GitHubSCMNavigator navigator) throws IOException {
</BUG>
if (credentialId != null && !credentialId.trim().isEmpty()) {
<BUG>StandardCredentials credentials = Connector.lookupScanCredentials(item, navigator.getApiUri(), credentialId);
if (credentials == null) {</BUG>
try {

return new GithubOrganizationFolder(organizationFolder, parent.getLink());
}
} catch (Exception e){
String msg = String.format("Error creating pipeline %s: %s",getName(),e.getMessage());
logger.error(msg, e);
if(item != null) {
try {
