ValueError is raised when removing a non-existant element from a list.

A common occurence when your list is empty.
Merge pull request #37 from infoxchange/remove-from-empty-40370

ValueError is raised when removing a non-existant element from a list.