Got rid of duplicate error when push_pathname() fails.