Validation and correct syncing of package files