fixup import failure detection in release script