Telling pkgbuild to use a non-default local http publisher doesn't work - the code in ips_utils.pm is unable to find/identify it.
Example URI:
$ pkg publisher
PUBLISHER TYPE STATUS URI
SFE origin online http://localhost:10000/
There seems to be support for this in the code, but the relevant block isn't executed where it should be.
See the attached patch for a change that makes it work for me.
Change that makes it work for the reporter (mostly indentation)