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

Fixes #241

Wait for more unit tests to be added before merging this PR.
I guess this is valid Perl but please add a space between my and $self