Only enable svg edit when running a git controlled app, see also Release 2.17 issue #514
Rewording comment
Fix indentation
Merge pull request #518 from PeterBjuhr/svg-edit

Only enable svg edit when running a git controlled app