Fixed an error caused by removing the last stored alias with removepath.