Work around RVM bug breaking Travis builds.

See travis-ci/travis-ci#2220