Let's only run test/examples.jl if we can actually access the examples
Merge pull request #8466 from JuliaLang/sf/examplestest

Let's only run test/examples.jl if we can actually access the examples