commit.c: use skip_prefix() instead of starts_with()