press: check if urls exists before blindly using them.

This must be done in case the app has not been bound and these
templates are still used, for example if the plugin is used but
the apps haven't been bound (the plugin tries to link to the apps).