do not add empty strings when checking for relative symlinks