Remove unneeded extglob pattern on two places.