Fix latent bug in registry save code.
Corrected imports ordering.
Merge pull request #26 from soundcloud/jmy-fix-registry-save

Fix latent bug in registry save code.