Fix to path in travis config and added workaround for weird travis behaviour

Change-Id: I6cbe3003ab63e67b2acedfaa8f279835fedee79e