Fixes bug 1115795 - Prevented error when no dump is available.

@rhelmer r?

I have not been able to test this locally, could you please test it for me?