correctly resolve patterns against appDir

correctly resolve `pattern` against `appDir` instead of concatenating them.

Using an absolute path in the asset sources, yields empty file, because this line prefixes patterns with `appDir`, instead of properly resolving them.

After fixing this line, files are properly generated when using absolute asset sources.