name-rev: use skip_prefix() instead of starts_with()