[frontend] fix condition that all module packages were successfully built
The previous version actually filtered successful packages first,
and then checked whether the objects are True. This is not the
intended logic. We rather want to get status of all module packages
and then check if all of them are successful.