Fix access to empty package from the repl.

It seems that way back in f5c336d566 three months ago I
booched the repl's ability to get at the empty package.
I've noticed this a hundred times but strangely it has not
been reported by anyone else. Perhaps you are all religious
package users. In any case, it is back.
Merge pull request #2027 from paulp/pr/fix-empty-package

Fix access to empty package from the repl.