Preventing a 500 on thumbnail config failure