Check the path for a command actually exists