taskbase: Error out if we find .git

To avoid people writing into git repositories.
taskbase: Allow specifying path to ostree repo on command line

For completeness, then we can be more easily run from any directory;
nothing should be using os.getcwd() or the present outputdir.