Made functions to scan for ros packages and to get the SVN url
All needed functions are there. A bit inefficient due to some stuff done twice, could be refactored
Added check for empty directory
Check for destination dir existence instead of emptynes