[PATCH 2/2] pakfire.cgi: Check for locked pakfire before trying to perform operations.