Avoid crashing on invalid/missing featured image

Even though wp.getMediaItem is expected to return a string for the
`link` attribute, it might be `false` if the passed ID is not an
existing attachment or can't get an URL.

If the returned value is not a string, treat it as nil to avoid crashing

resolves #13