fix(grunt): Make getVersion() work on travis