Fix for #2494, don't retrieve svn log with invalid reference numbers

Fix for #2494, don't retrieve svn log when the references don't contain a reference number. Instead show a warning that it can't retrieve the changes with the reference numbers.