Fix a bug if the container is non-existent.
Fix tests.
Add some extra log info.
Added a comment explaining the function.
Merge pull request #71 from brendandburns/container_info

Fix some problems in container info handling if the container's no present.