Also test for lower-case variant of tag
Handle APIError as of commit ab04a359

If an error occurs during any stage, return value is 128.
The error handled is for when the archive removal option is used but
the archvie does not exist.