git: avoid magic number with skip_prefix