CRAFTERCMS-440

Fixed bug that was caused by regular expression pattern not allowing environment name with blank spaces (multiple words).