Core - fix for SetGIFPath() when path is empty.