Added comment in SetMagicPaths about possible error