Sometimes it is necessary to rebuild the registry when changing paths on probo builds especially if migrations are involved. There are two ways to go about this.
This method is for when Drupal will not bootstrap a registry rebuild done via standard a
drush rr command.
In order to compensate for this, you can get the registry rebuild module, run it via standard PHP and then run your update functions and clear caching functions. Additionally, you could also add the feature revert drush command at the end as well. It’s important that you disable databaseUpdates, clearCaches and featuresRevert when using this method.