fix svn checkout problem

if source code exists, then use svn update. Otherwise, use svn checkout