Bug #1911: Fix bugs in vmfs ln script for TM