The Department of Motor Vehicles may, in its discretion, issue a temporary driver’s permit to an applicant for a motor vehicle driver’s license permitting him to operate a motor vehicle while the Department is completing its investigation and determination of all facts relative to such applicant’s right to receive a driver’s license. Such permit must be in his immediate possession while operating a motor vehicle, and it shall be invalid when the applicant’s license has been issued or for good cause has been refused.