extractorapp: Fix checkPermission for local layers
Merge branch '13.06' into 13.09