fix git directory in installation script
build-lily: trigger errors if there are problems with committing