change check is local folder in cmp dependencies