Input: gtco - fix crash on detecting device without endpoints