avoid error when artist has no albums

Error checking to avoid bug discovered in our class of 4/3/13