Added validation for LOcalM2Repo path