Fixes for the builder publisher.

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>