Check validity of "--local" path