srcBasePath now actually doing what is was intended

Typo with the indexOf comparison causing the srcBasePath to never do its job