Fix for non-installable optional packages