Fix local-path ref, undo register_cli syntax modif