Update Extensions/StringExtensions.cs

Made extension methods more resilient to null & empty slugs.