Move svn path inside if