Return promise instead of array for glob patterns to copy