only remove existing image repo if download request was successful