Fix URL check

Only worked on the Pi but fixed now for both devices