remote-helpers: avoid has_key