Shell completions: fix handling of keyrings with '-' in their names