check whether last character in gtrackcore_dir variable is '/'