Updating routes formatter to ignore lines with no path