fixed: addoninstaller unguarded null pointer after #2475

This fixes a small bug when an addon dependency is not present (don't have) and not mandatory. In that case a null pointer exception happens.

This bug is there since https://github.com/xbmc/xbmc/commit/b0825b1a212849e52fca27409ea87e81591f7cf4