Code quality: [bosh_aws_cpi] Pull registry initialization into its own method