Change entry.depository from dictionary to list

It seems like it was orginally meant to be a dictionary with some
functions written for it as such, but was changed to a list later. Changed
its usage in a function and the comments.