The cash-strapped nation's first debt deal in five years comes with a catch.