Why not factoring this king of validation in _check_reg_targets?