Fix bug where svn is sometimes bare

This checks if the SVN repo is set to bare and then changes
bare = false so that the actions don't fail.
Merge branch 'bugfix/svn-bare' into development