An act shall be deemed to be "in the course of committing an unlawful taking of a motor vehicle" if it occurs during an attempt to commit the unlawful taking of a motor vehicle or during an immediate flight after the attempt or commission.
N.J.S. § 2C:15-2