Guard against packages not present on the cache
Guard against packages not present on the cache

There were some places that could have been nil, and the pcache might
just not contain an entry either. This change should guard against
these cases & use a default (no package) instead.

nsf/gocode,nsf/gocode,nsf/gocode,nsf/gocode