If build-tools is set to false we do not set the update_mime_database value, so avoid referencing it in that case.