Using a different approach to checking the layout. Older way prevented retire function working correctly. Layouts are detected at the
beginning of the run and the result stays the same, unlike the direct
checking files like dead.package in function is_retired.
Using a different approach to checking the layout. Older way prevented
retirefunction working correctly. Layouts are detected at thebeginning of the run and the result stays the same, unlike the direct
checking files like dead.package in function
is_retired.Fixes: #663
JIRA: RHELCMP-11387
Signed-off-by: Ondrej Nosek onosek@redhat.com