put command in default namespace when the file is in templates root and there's not default dir