SWC-1112: change hash to hashbang when bang is missing from link