Fixed a bug causing calls without -d to crash.
Fixed a bug causing elk to fail when unsharing something not shared.