Fixed bug in determining sonar project name