Don't crash shell in completions if an option has been set twice