My suggestion would be to either use the REST API functionality to do this instead of Tabcmd, or secondly query the Repository for the correct workbook name.
The Workbooks table (and _workbooks view) holds the required information
Accessing the Repository
Hope this helps
I missed the Repository URL part under Workbook table!!
Will check that out and update.