Fix for rake ci:travis:prepare task (2nd try)

See 8633e82b.

Signed-off-by: Alex Coles <alex@alexbcoles.com>