DECUPAS-24: Prevent PHP warning if user is not registered in card system of the Drupal installation