Fixed bug with resolving relative paths.