Support expanding environment variables when productDir is specified in a table file
Fix typo