[[ Bug 13784 ]] Check we have a valid bitmap before exporting