fix reading pom from not valid project