Updated get_publications to error check null values

get_publications was choking on a couple examples when there was a NULL
author.