add: ccommon.utils.path which is the reverse of resolve_element