Only add Python, npm to path if they exist