get packages after checking ossec version, saves us the trouble of installing for nothing
no more exits