Fixes error, if requested tinyurl is not present

When requesting a non-valid tinyurl, Kirby will throw a PHP fatal error.

> Fatal error: Call to a member function first() on a non-object in $KIRBY_PATH\kirby\lib\site.php on line 166

First checking if `$resolved` is valid, then calling `first()` should do the job.