Don't assume package has a single name

One package can have different names, for example "" and "__default".