make basedir configurable out of band from git