Remove duplicate method definition

There's another isLocalPackage lower in the same _.extend, and that's
the one that is being used.
Package download no longer can emit buildmessages