Fix a return_if_fail confusion

This slipped through my editing of the patch.