Remove all extensions when parsing a framework name from its path