Prepending paths to array rather than appending.