Fix path when non-login shell