xmllint --pretty crashed without following numeric argument https://bugzilla.gnome.org/show_bug.cgi?id=674789 We need to check for NULL argument before calling atoi()