dbmgr.init: fixed bug in detecting executable path