Try to fix Travis CI undefined index issue