Only get the nosetests version if it is not None
(#342)