Bash Split String Into Array And Get Last Element