Fix a small bug in pca install-check