LPS-41592 Make staging more robust: if a plugin with datahandlers is undeployed, staging will still work