Fix switch to eshell when buffer has no associated file