Make publisher and maintainer copy more robust

There were uncaught exceptions when no publisher or maintainer could be
found. This commit makes access to those fields more robust. Also
reverted some changes from earlier.

Signed-off-by: Konrad Reiche <konrad.reiche@fokus.fraunhofer.de>