only call 'container.get_object' when '_container_public_uri' is unset

I don't know if this is a perfect fix for #176 but it is certainly speeds things up a lot.