fix for 16485257 - the namespace must match in order to be able to generate ref otherwise the generated element ref belongs to different namespace
ignore mac system files