Avoid invoking FlexBridge incorrectly (FWNX-1185)

If the Lift repository did not exist before, then an export function
cannot be undone just because an errors occurs.

Change-Id: I2d6b697051b3e68c74b9d953c9e6bfe6598d1e17