Local_metadata message was throwing an error

If there was no download file it was throwing an error.