Fixes #2272

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