glocalfile: Only check for .hidden files if standard::is-hidden is requested