Fixed custom path resolver in Require.js plugin