Fix package template grammar