Update centos-clone-errata.sh

Added an if/then statement to the errata dir
Changed the `command` to $(command)