4.x repository: default basePath to root
core mkdir runtime lib