TUP-2116: avoid multiple check of libraries for each get status