(SERVER-68) Fix gem cli script bug