Updated Repository._find_by_attribute to handle the case where the data store returns an array with a nil element in it.
Merge pull request #45 from ryannak/master

Repository#_find_by_attribute to handle the case where the data is nil