corrections to get-image.sh script

- fixed an order-of-operations issue that could have resulted in
  conflicts between docker-io and legacy "docker" package
- customize a copy of downloaded image rather than the original (to make
  it easier to start from scratch)
- make sure to clean up yum cache