Improve installer checking if local directrory is git repo