Fix build_mobile_data crash when some media is missing