D25266
D25266
Fix PHP 8.1 "preg_match(null)" exception when cloning a repository with no URI set
Author: aklapper
Reviewers: O1: Blessed Committers, valerio.bozzolan
Summary: `preg_match()` does not accept passing null as the `$subject` string parameter in PHP 8.1.
Thus add a…