cpsclient: fixed a bug introduced in the previous commit