There are numerous ways round this. Give the address of the HR dept if asked for a ref, they are likely to send back the standard he worked here these dates response.
Agency pay lip service to this, last thing they want when the client likes you is to go back and say the ref is a problem so no/little news is good news to them. Unless it comes back saying you nicked stuff/assaulted someone you should be fine.
Alternative - pick another permie in the dept who likes you, as a contractor you work alongside but not for anyone so anyone working there can vouch for you, just give them as a ref (ask them first of course so they are expecting the contact)
Never say clash of personalities, didn't agree with how they managed etc as this means trouble causer and you will be out of the running.
Often, if you delay long enough they forget asking for refs anyway, especially when you are settled in earning them cash.