Correctly chooses how to make a ps file using $REPTYPE.