Fix certificate verification error when set to False

PulpBindings can't be imported in an easy way so I wasn't able to write tests