fix detection of accounts and installed-accounts packages

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>