Merge "libcutils: handle root directory empty path" am: 6105dbd01b
am: 621ae033a4

Change-Id: Ibde5e2b3d703b1dbd42d01f9e5720d6075a2dd45