Don't complain if not run in a repo dir, and only check repo once