Is it possible that the the path returned by sdkRootPath doesn't exist? If the sdk version is being grabbed from the project settings, I think it is possible, in which case we may want to throw a more informative error.