Return URL earlier if issues with filesystem API