remove duplicate code

There was twice a check for the Python version on OSX, but the logging in the second check was never reached