Ensure container name on register

Fixes #2491 


This ensures that the container has a name and the `getFullName` method does not panic on an empty string. 

ping @vieux @shykes @creack