Use URI for packageDir parameter makes path platform independent and
fixes a problem that occured on Windows platforms