Don't execute mktargets.py if cannot cd into correct directory