The disco package doesn't return errors, and a nil value indicates that the input isn't valid. Always check for nil.
This moves the registry specific functionality out of the module.Storage and into its own package.