Fixed: Error thrown while moving to a branch in which previous pwd does not exist.