cantherm/pdep.py: Only check if tunnelling frequency is not None if tunneling is not None

Was causing a bug we cannot check tunneling.frequency because tunneling itself
is a NoneType.