Incorrect operation sequence in bzr-handling code

In get_src_requirement, the test to see if repo was valid was happening after a method was being called on it, which gave me some problems when pip went digging around one of my projects which was in bzr but lacked a remote repo.