rsaenh: Use helper function to create a container's registry key.