actions: bring over latest actions management code from pcatk

Signed-off-by: Peter Williams <pwil3058@gmail.com>
file_list: fix directory state determination

Signed-off-by: Peter Williams <pwil3058@gmail.com>