Improved docker ps handling

Fix two issues I've run into with the `docker_container` LWRP.