Changed to not add empty strings to path (via ::)