Add extra checks when finding the ROLES used in the backup dump