Tbsliver/undef fix

These changes are as discussed in IRC, to allow the check_requirements function to be called with an undef type as it is only checked against one equality.