installer/ubuntu/bootstrap: Check if patch applies cleanly

Fallback on original version if it fails.