Rasmussen was thrown off the 2007 Tour de France on July 25 by his team , Rabobank , while wearing the leader 's yellow jersey for lying about his whereabouts the previous month when he was being sought out for doping tests .