Revert "delete if"

This reverts commit abc7d8dcbabc19d2cffdda9e2553784e25a32f24.
add xbmc package