Fixes source map relative root path to use output directory when available
Uses source map output directory instead of regular output directory