Fixed error when package is not installed