Make sure we have midcom_root defined before using it