Fix crash when dropping repo by name when no repo is currently chosen
This situation arises under the following conditions:
read <a
read <b
drop b # (or just "drop")
drop a # (crashes here)
This situation arises under the following conditions:
read <a
read <b
drop b # (or just "drop")
drop a # (crashes here)