Foreign lenders and the real sector