Git couldn't find the 'current directory' repository on Openshift

I'm trying to set a Phabricator instance up on Openshift (using https://github.com/CodeBlock/phabricator-openshift-quickstart as a base) and I was having an evil time getting the git repo to work:

> Command '(cd '/var/lib/stickshift/f58cbc6fcec7441d9d5bf11d49425d13/app-root/data/repos/feedbacker/' && git log --skip=0 -n 15 --pretty=format:'%H:%P' 'origin/master' -- )' failed with error`#128:`

> stdout:
> stderr:
> fatal: Not a git repository: '.'

I made the changes mentioned in the commit message, and now it works.  I checked it on another (Ubuntu) install, and it doesn't seem to have any negative effect.