Fix script to try to resolve pom file from correct location.