Replace require with require_relative to ease usage without bundle
Fix container existence check to look only for containers and not images.