Handle this.path === null in routing