Fix cross issue with cross loading of BugPackContext