Fixes a regular expression bug that prevented non-release builds from being clobbered when they contained the release_prefix at any location in their name (as opposed to the beginning).