Fix wrong logging in ExternalCommandListener