I think you can drop the '|| sdkDir.path.isEmpty' now - 0.4.3 should also return null, not sdk's w/ empty paths.