fixing a bug where backend script fails if getTrackMetaData returns nothing