return an error if Path is called on an Env before Open