Fixes #2272

Returning None if distuils hasn't been installed will make the test ```req.installed_version in distribute_req``` fail with a TypeError