fix NPE when removing a docking station of an unloaded robot, fixes #2348