Fixed URL handling in _get_external_styles

Fixes #26.