Even simpler: `$cfg = Get-ChildItem -Path src -Filter nuget.config | Select-Object -first 1`

When it can't be found `$cfg` is null