Empty dict if diagnose not available
Fixed parsing of diagnose output