Fixed bug in diagnose command not excepting the bundle id.