Added util module with string blank check
Handle blank actor value
Pop from the end rather than from the beginning.

The beginning may end up at some other path, but the end will always be
the same.