Improve fix for issue #247, relative path not always start with ./