Add elements to search path only if they are not already present