Fix potential warning when checking trusted sites