use try instead of if when trying to get the WIP URL

...I think it won't work with if