Fixed bug with getting project label from pom or filename