Minor fix to prepublish script.