Fix bug in locating file path.

Geometry file was not located if existed in PWD.