Fix bug when tests with fake boto config fail.