Fixed potential undefined index in ArrayLoader.php

A source without a reference is invalid.