Fix the test for whether Mojo::UserAgent is installed