Error handling in iameta

Still need to log errors somewhere but this handles errors reading the meta data and updating the db. 
@russellholt @jbarrett 
should `exit 0` here since we're done and no errors. die is usually used for errors, writing to STDERR and returning a nonzero value indicating a problem