check prefixes for swallowing kernel args

matches argparse behavior

closes #3214