Only enable svg edit when running a git controlled app

See also Release 2.17 issue #514