[rpm] Add workaround for late access to message loop