If no SVN revision is found, return -1 instead of 0