Extract definition of expected database path
Fix syntax error