Update templatemap_generator.php

Another way to fix the real path