repl: Give an error if we get a secret when not expecting one