Fixed automatic detection of project name