protected function travisEncrypt($data)
 {
     $cwd = getcwd();
     // change dir to target plugin since plugin will be in its own git repo
     chdir($this->getRepoRootDir());
     try {
         $result = parent::travisEncrypt($data);
         chdir($cwd);
         return $result;
     } catch (Exception $ex) {
         chdir($cwd);
         throw $ex;
     }
 }