Adapt to new partsregistry API

Gibthon currently is not able to import BioBricks from the parts registry. This fixes it.