Fix a bug that would cause the script to fail if an HTTPError were to occue

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>