space.getInstances() cannt return null?

a for loop with a null reference as the iterable throws an NPE.
i wanted to print a log in case no instances were found...if you say it cannt be null than we can remove that condition