Make a difference between CentOS 5 and CentOS 6 OpenVZ repository and use/install the one that match the OS. Project issue: #1054