Print user-friendly exception when package database is locked