Improve the working path mode setting for ctrlp