Fix check for argument length in namespace-get