That merger spelt the end of Murray 's cosy relationship with the Glaswegian head of HBOS ' corporate banking department , Peter Cummings -- who was made a scapegoat for the bank 's exposure to record levels of loans to deeply indebted companies .