Only use template path addition when the basePath is given as command line argument, keeping old functionality as it was