Address NPE in getNotScannedBuilds()