Only loop on /sdcard when waiting for tmpdir to be ready.

/sdcard is a mount point, so we special case it. For other
directories, we assume they are not.

Change-Id: I1d01fb9a61103ca002460d2e786d4bd35f99256d
2 files changed