Found a bug that if a / is part of the environment to delete it will not be removed from the environment list.
Found a bug where if someone autocompletes the deletion of an environment it was not being removed from the list due to the trailing / so reworked method that removes an environment from the environment list so it can handle autocompleted file paths as well as manually typed.