[registry] make bundle work with latest changes in storageregistry.

based on https://github.com/Payum/Payum/pull/146