I did not check on the latest version, but on Gazebo ~2/3 setting GAZEBO_MODEL_DATABASE_URI to "" had the effect of skipping the download of online models.