Check dir path before updating permissions. am: ff2cc0cede

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/providers/TelephonyProvider/+/19734280

Change-Id: I99ae58cf3bc37ee86e4901695c9ac78518e3ce84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>