Thanks!
Yes, I did find an example of testing for a single or an enumeration reference and it turns out the function is returning an enumeration of three references, all to the exact same object, in this case a tif file (also tried a .asc), which I presume is just one object. And this is probably why my code worked on a different build; it was always only returning a single reference. So, why am I getting three now?