"Failed to find name of unencodable object" means that an object (in this case the master) is either not found in master()->objects, or its program not found in master()->programs (see objects_reverse_lookup() and programs_reverse_lookup()).
The master object and program should both be registered though (they are actually in the initializers for these variables). Does it work better if you turn off PIKE_MODULE_RELOC?