Bug fix to automatic stack name fill-in when there are slashes