Cli: Ensure that repository path is created on 'node add' command

fixes #7743