Fix excpetion when querying container memory

Signed-off-by: Chuck Short <chuck.short@canonical.com>