Bug: infinite loop when outside of any maven folder; no pom.xml file