Ensure this test passes even if the media directory doesn't exist

This'll fix the Travis build.