remove trailing slash for npm path