Improve fix for #84 by moving the updating of the process id into the KarafContainerRegistration.