Fix how whitespace is removed from project ID