Avoid using currentActivity whilst loading
Original commit message(s)
- Avoid using currentActivity whilst loading
When loading the current activity is an empty string. This is not considered a valid historyEnvironmentIdentifier by krunner and is guarded by an assert.
Reason for the change
My plasma is asserting like crazy ATM. We did a similar fix for krunner recently.