Before this patch, this logic would take the first path which was marked as "scan on every startup" and return whether that runtime was already created. This was bad because it did not support the case of multiple paths, all of which were marked for 'scan on every startup'. In the case of multiple paths, the new logic is correct. 

However, for the case of only 1 path to be scanned, the effect of this would appear to be no effect at all.