Fixed patch resolving for cases when requirejs-sandbox runs without require.js