That's your airbox drain, and the filter-like thingy is a one-way valve. Condensate (oil, water, and gasoline fumes) leave, but unfiltered air (and unfiltered insects) can't get in. The drain hose runs down the frame to exit near your rear tire, and as you say may still be there.