Same as how I commented in the other PR, this should probably be:

    if (aRelativePath != null) {

Just in case someone has a directory `"0"` for whatever reason.