$searchpath and empty array

Hi, you define $searchpath as an empty array, but attempt to test for it using not (!).