deleted double-entry

deleted the double call of path = require('path')