The code indeed hard-codes the library in SYS$LIBRARY. It does not
perform logical name translation. Unfortunatly, changing this behavior
would break backward compatibility as some system might have device
control library name conflict with logical names and not be aware of
it. It is one of those ennoying things that would be done differently
if done today, but are better left untouched in OpenVMS.