support pure gzip containers (not tar.gz)

References: #5455
Merge pull request #5517 from rolandwalker/pure_gzip_container

support pure gzip containers (not tar.gz)