In 7.x EPEL, Docker package is called docker, not docker-io

Moving the docker install into the if/then conditional to pull "docker" on 7.x and "docker-io" on <7.x