To resolve this issue use export LANG=C right before pmrep connect command