integcli: fix permission detection for aufs

Fixes #8120 

#8120 was caused by the extra files on AUFS.