Merge "Call realpath(3) only when the path is accessible for read"
am: 70ee1825d0

Change-Id: Id5152e6e7541700d8a9fbd980dec2ae743a31a5d