Pytests: fixed executing cocaine-tool app upload.