Quit from minibuffer in case of absence of registers.