My sister in law has an e92 - same electronic system as the e89. Her alarm sensor for the bonnet/hood is unplugged, so I assume a previous owner had problems. It looks the same as the one on my e86 and old E46, so I'd try unplugging it.
After all, it's easy and free to diagnose. Good luck!