correctly resolve patterns against appDir

correctly resolve patterns against appDir instead of concatenating them.