fix bootstrap script to work without repo/git already being present