ncm-named: fix retrieval of named root directory from sysconfig

Fixes #241

Wait for more unit tests to be added before merging this PR.
if you return here, you will not have the 1st debug message below.