SOS-2363 Fix possible NoSuchRoleException if so-hook isn't deployed