Fix a bug that "gettext" task referes nonexistent task