probably you need to stop on version 4.0 and install plone.app.registry before upgrading to a newer version.
you will have to use the following pinning:
http://good-py.appspot.com/release/plone.app.registry/1.0b2?plone=4.0
if that does not works, I would suggest you to use another strategy to upgrade; Transmogrifier is your friend: