Fixes issue with package errors before installation dialog is shown

Closes #1218