added validation for location name == package name