replaceCommonSourcePath, parseSourceDirectory, getCommonSourcePath expect an array and not null (happens when there are no errors)