Fix directories in projects with dotted names