Fixed bug where it would match scripts that looked like the tinymce base directory incorrectly.