set undefined repo and org when outside of a git directory